package com.aididi.dao;

import com.aididi.entity.SysAuth;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysAuthDao extends BaseMapper<SysAuth> {

    /**
     *  根据用户id获取到用户的菜单
     * @param userId
     * @return
     */
    List<SysAuth> findByUserId(Long userId);

}
